package com.kede.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 物品验收记录表
 * @TableName t_zhi_good_valid
 */
@TableName(value ="t_zhi_good_valid")
@Data
public class ZhiGoodValidDomain implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 店铺名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 通过数量
     */
    @TableField(value = "pass")
    private Integer pass;

    /**
     * 失败数量
     */
    @TableField(value = "fail")
    private Integer fail;

    /**
     * 验收数量
     */
    @TableField(value = "num")
    private Integer num;

    /**
     * 各门店、区代、市代id
     */
    @TableField(value = "store_id")
    private Integer storeId;

    /**
     * 应收金额
     */
    @TableField(value = "should_money")
    private BigDecimal shouldMoney;
    /**
     * 实收金额
     */
    @TableField(value = "real_money")
    private BigDecimal realMoney;

    /**
     * 
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "qu_id")
    private Integer quId;

    @TableField(value = "shi_id")
    private Integer shiId;

    @TableField(value = "transport_id")
    private Integer transportId;

    @TableField(exist = false)
    private Integer userId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}